﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HitchHikersGuideToTheGalaxy.Models
{
    public interface IVehicleSortRepository
    {
        // Default Add, Delete and save actions
        void Add(VehicleSort vehicleSort);
        void Delete(VehicleSort vehicleSort);
        void Save();
        
        // Querys
        IQueryable<VehicleSort> FindAllVehicleSorts();
        String GetSortById(int id);
        int GetIdBySort(String sort);

    }
}
